﻿using StockholmsStad.Windows.UI.Modules.Ceremony.Interfaces;
using StockholmsStad.Windows.UI.Modules.Ceremony.Models;
using System.Collections.ObjectModel;

namespace StockholmsStad.Windows.UI.Modules.Ceremony.Presenters
{
    public class CeremonyDetailsPresenter : ICeremonyDetailsPresenter
    {
        public CeremonyDetailsPresenter(ICeremonyDetailsView view)
        {
            View = view;
        }

        #region ICeremonyDetailsPresenter Members

        public ICeremonyDetailsView View { get; set; }

        public void SetSelectedCeremony(ObservableCollection<CeremonyDetailsPresentationModel> presentationModel)
        {
            var model = presentationModel;
            View.Model = model;
        }

        #endregion
    }
}